home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / util / moni / Scout-src.lha / source / objects / scout_ports_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-02-13  |  2.0 KB  |  90 lines

  1. /**
  2.  * Scout - The Amiga System Monitor
  3.  *
  4.  *------------------------------------------------------------------
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  *
  20.  * You must not use this source code to gain profit of any kind!
  21.  *
  22.  *------------------------------------------------------------------
  23.  *
  24.  * @author Andreas Gelhausen
  25.  * @author Richard Körber <rkoerber@gmx.de>
  26.  */
  27.  
  28.  
  29. /* Prototypes for functions defined in
  30. objects/scout_ports.c
  31.  */
  32.  
  33. struct   PortEntry {
  34.    struct   PortEntry   *pt_next;
  35.    struct   MsgPort     *pt_adr;
  36.    char  pt_address[ADDRESSLENGTH];
  37.    char  pt_name[NODENAMELENGTH+2];
  38.    char  pt_pri[PRIORITYLENGTH];
  39.    char  pt_sigbit[10];
  40.    char  pt_sigtask[NODENAMELENGTH+2];
  41.    char  pt_flags[16];
  42. };
  43.  
  44. extern int portcnt;
  45.  
  46. LONG __asm portlist_dspfunc(register __a2 char ** , register __a1 struct PortEntry * , register __a0 struct Hook * );
  47.  
  48. extern struct Hook portlist_dsphook;
  49.  
  50. void FreePorts(void);
  51.  
  52. int GetPorts(struct PortEntry ** );
  53.  
  54. void PrintPorts(char * );
  55.  
  56. void ShowPorts(void);
  57.  
  58. void SendPortList(void);
  59.  
  60. void GetPortMore(struct MsgPort * );
  61.  
  62. extern APTR WI_Ports;
  63.  
  64. extern APTR portlist;
  65.  
  66. extern APTR porttext;
  67.  
  68. extern APTR portcount;
  69.  
  70. extern APTR CY_PortSort;
  71.  
  72. extern int portsortstate;
  73.  
  74. extern APTR BT_PortUpdate;
  75.  
  76. extern APTR BT_PortPrint;
  77.  
  78. extern APTR BT_PortRemove;
  79.  
  80. extern APTR BT_PortPriority;
  81.  
  82. extern APTR BT_PortMore;
  83.  
  84. extern APTR BT_PortExit;
  85.  
  86. extern APTR PortSortList[4];
  87.  
  88. void PortsWindow(BOOL );
  89.  
  90.